<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'firstaidfireprotection-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'FirstAidType'); ?>
		<?php echo $form->textField($model,'FirstAidType',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'FirstAidType'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Capacity'); ?>
		<?php echo $form->textField($model,'Capacity',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'Capacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'NoOfUnits'); ?>
		<?php echo $form->textField($model,'NoOfUnits'); ?>
		<?php echo $form->error($model,'NoOfUnits'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'WithPSMark'); ?>
		<?php echo $form->textField($model,'WithPSMark'); ?>
		<?php echo $form->error($model,'WithPSMark'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'WithISOMark'); ?>
		<?php echo $form->textField($model,'WithISOMark'); ?>
		<?php echo $form->error($model,'WithISOMark'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ProperlyMaintained'); ?>
		<?php echo $form->textField($model,'ProperlyMaintained'); ?>
		<?php echo $form->error($model,'ProperlyMaintained'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ConspicuouslyLocated'); ?>
		<?php echo $form->textField($model,'ConspicuouslyLocated'); ?>
		<?php echo $form->error($model,'ConspicuouslyLocated'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FirstAidAccessible'); ?>
		<?php echo $form->textField($model,'FirstAidAccessible'); ?>
		<?php echo $form->error($model,'FirstAidAccessible'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'OtherTypes'); ?>
		<?php echo $form->textField($model,'OtherTypes',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'OtherTypes'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Establishment_Id'); ?>
		<?php echo $form->textField($model,'Establishment_Id'); ?>
		<?php echo $form->error($model,'Establishment_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->